package com.stylefeng.guns.modular.product.service;

import com.stylefeng.guns.modular.product.model.Customer;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author stylefeng123
 * @since 2019-03-16
 */
public interface ICustomerService extends IService<Customer> {
    /**
     * 根据客户名查询客户
     * @param userName
     * @return
     */
    Customer getByUserName(String userName);

    /**
     * 根据条件查询客户
     * @param userName
     * @return
     */
    List<Customer> getCustomerList(String userName);
}
